package com.BigDate.server.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Suntingxing
 * @date 2021/12/22 22:59
 */
@RestController
public class TestController {

    @ApiOperation(value = "测试")
    @GetMapping("/test")
    public String test(){
        return "跨域测试成功!";
    }
}
